from .config import ConfValue

class FlaskValue(ConfValue):
    __tag__ = "flask"

class FlaskConf():
    FLASK_DB_URI   = FlaskValue("FLASK_DB_URI",   "DATABASE_URI",   default="")
    SECRET_KEY     = FlaskValue("SECRET_KEY",     "SECRET_KEY",     default="<test>")

    CASDOOR_HOST   = FlaskValue("CASDOOR_HOST",   "casdoor_host",   default="")
    CASDOOR_ID     = FlaskValue("CASDOOR_ID",     "casdoor_id",     default="")
    CASDOOR_SECRET = FlaskValue("CASDOOR_SECRET", "casdoor_secret", default="<test>")
